//app.js
App({
  globalData:{
    park_list :[
      {
        parkId: "1002",
        mainImage: "../../images/2.png",
        sliderList: [
          { infoImage: '../../images/banner2-1.png' },
          { infoImage: '../../images/banner2-2.png' },
          { infoImage: '../../images/banner2-3.png' },
        ],
        name: "西溪欢乐城",
        address: "浙江省杭州市余杭区华元西溪欢乐城",
      },
      {
        parkId: "1132",
        mainImage: "../../images/1.png",
        sliderList: [
          { infoImage: '../../images/banner1-1.png' },
          { infoImage: '../../images/banner1-2.png' },
          { infoImage: '../../images/banner1-1.png' },
        ],
        name: "华元欢乐城（西区）",
        address: "浙江省杭州市余杭区临平华元欢乐城",
      },
      {
        parkId: "3",
        mainImage: "../../images/3.png",
        sliderList: [
          { infoImage: '../../images/banner-3.png' },
          { infoImage: '../../images/banner-3.png' },
          { infoImage: '../../images/banner-3.png' },
        ],
        name: "华元欢乐城（东区）芳草地",
        address: "浙江省杭州市余杭区临平南苑街道华元尚峰轩"
      }
    ],
    onlanch: false,
    flag_index: false,    //判断用户是否是第一次打开,第一次打开后转为true
    flag_parkInfo: false
  },

  onLaunch() {
  }
})
